<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@page import="cn.lx.ssh.domain.Product"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>


<body>



	<h1>商品列表</h1>
	<%-- List<UserEntity>遍历如下：--%>
	<table width="242" height="256" border="1" cellpadding="1"
		cellspacing="1">
		<caption>ProductList&gt遍历如下：</caption>
		<tr>
			<th>商品</th>
			<th>价格</th>
			<th>&nbsp;&nbsp;</th>
		</tr>
		<s:iterator id="u" value="productList">
			<tr>
				<td><s:property value="#u.pname" /></td>
				<td><s:property value="#u.price" /></td>
				<td><span><a href="product_edit.action?pid=<s:property value='#u.pid'/> ">操作</a></span></td>
			</tr>
		</s:iterator>
	</table>
</body>
</html>